#!/usr/bin/env python3
# -*- coding: utf-8 -*-

"""
@AUTHOR: tyc
@VERSION: 1.0.0
@DESCRIPTION: 
@time: 2021-06-28 21:43:06
"""

import requests
url = 'https://movie.douban.com/j/new_search_subjects'

params = {
    'sort': 'U',
    'range': '0,10',
    'tags': '电影',
    'start': '0'
}

header = {
    'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36'
}

resp = requests.get(url, params=params, headers=header)
print(resp.json())
resp.close()
